#/bin/sh


sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'

sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654

sudo apt-get install libevent-dev -y
sudo apt-get install ros-`rosversion -d`-serial
sudo apt-get install ros-`rosversion -d`-global-planner -y
sudo apt-get install ros-`rosversion -d`-teb-local-planner -y
sudo apt-get install ros-`rosversion -d`-move-base-msgs -y
sudo apt-get install ros-`rosversion -d`-move-base -y
sudo apt-get install ros-`rosversion -d`-map-server -y
sudo apt-get install ros-`rosversion -d`-velodyne-pointcloud
git submodule update --init --recursive

#sudo chmod 777 /dev/ttyUSB*
